package cn.kgc.vue.commons;

public enum   ResponseStatus {
    SUCCESS(Const.SUCCESS,"操作成功"),
    FAIl(Const.FAIL,"操作失败"),
    ERROR(Const.ERROR,"服务器繁忙,请稍后重试!!");

    private int code;
    private String msg;
    ResponseStatus(Integer code, String msg) {
        this.code = code;
        this.msg = msg;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }
}
